package com.proxy.model.cglib;

import com.proxy.model.Source;
import com.proxy.model.Sourceable;

public class CglibProxyTest {
    public static void main(String[] args) {
        Sourceable sourceable = new Source();
        CglibProxy cglibProxy = new CglibProxy();
        Source source = (Source) cglibProxy.getInstance(sourceable);
        source.method();
    }
}
